package dfbz.demo;

public class break_contiune拓展用法 {
    public static void main(String[] args) {
        labe1:for (int i = 1; i <= 5; i++) {
            for (int j = 1; j <= 5; j++) {
                System.out.print(i+"-"+j+" ");
                if(i==4){
                    break labe1;//把外层循环 结束了
                }
            }
            System.out.println();
        }
    }
}
